﻿//填充搜索结果
function FillTable(res) {
    $("#mainTable").empty();
    var str = "";
    for (var i = 0; i < res.result.data.length; i++) {
        str += "<tr style='vertical-align: middle'>"
        str += "<td>" + res.result.data[i].user + "</td>"
        str += "<td>" + res.result.data[i].position + "</td>"
        str += "<td>" + res.result.data[i]['24PC'] + "</td>"
        str += "<td>" + res.result.data[i]['24Normal'] + "</td>"
        str += "<td>" + res.result.data[i]['24Maxt'] + "</td>"
        str += "<td>" + res.result.data[i]['24Mint'] + "</td>"
        str += "<td>" + res.result.data[i]['48PC'] + "</td>"
        str += "<td>" + res.result.data[i]['48Normal'] + "</td>"
        str += "<td>" + res.result.data[i]['48Maxt'] + "</td>"
        str += "<td>" + res.result.data[i]['48Mint'] + "</td>"
        str += "<td>" + res.result.data[i]['Composite'] + "</td>"
        str += "<td>" + res.result.data[i]['RecordCount'] + "</td>"
        str += "<td>" + res.result.data[i]['times'] + "</td>"
        str += "</tr>"
    }
    $("#mainTable").append($(str));
}